home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 5_programming / on / dcc_lost < prev    next >
Encoding:
Text File  |  2001-03-21  |  569 b   |  22 lines

  1. Synopsis:
  2.    on [<modes>]dcc_lost [<serial#>] [-|^]<match> { <action> }
  3.  
  4. Description:
  5.    This hook is triggered whenever a DCC CHAT or SEND connection is lost.
  6.    In the case of SEND, it is triggered only when a connection is lost
  7.    before the file transfer is complete.
  8.  
  9. Parameters:
  10.    $0    nickname of the dcc connection
  11.    $1-   disconnection message (varies)
  12.  
  13. Examples:
  14.    To indicate that dcc connection was terminated:
  15.       on ^dcc_lost "*" {
  16.          echo *** DCC connection with $0 lost${[$1] ? [: $1-] : []
  17.       }
  18.  
  19. See Also:
  20.    dcc(1)
  21.  
  22.